<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_date" class="form-control" name="row[start_date]" type="text" value="{$row.start_date|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">是否开课室预约时间段:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                <label for="row[is_subscribe]-0"><input id="row[is_subscribe]-0" name="row[is_subscribe]" type="radio"
                                                         value="0" {in name="0" value="$row.is_subscribe" }checked{/in}
                    /> 不开启</label>
                <label for="row[is_subscribe]-1"><input id="row[is_subscribe]-1" name="row[is_subscribe]" type="radio"
                                                         value="1" {in name="1" value="$row.is_subscribe" }checked{/in}
                    /> 开启</label>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
